

package cn.shengchao.examstar.distribute.infrastrure.mapper;

import cn.shengchao.examstar.distribute.infrastrure.po.DistributeDeptUserRoleBind;
import cn.shengchao.examstar.rpc.distribute.req.UserDbIQueryPage;
import cn.shengchao.examstar.rpc.distribute.resp.UserDbIResp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface DistributeDeptUserRoleBindMapper extends BaseMapper<DistributeDeptUserRoleBind> {

    String selectChainByDistributeUserAndType(@Param("userId") Long userId,
                                              @Param("distributeType") Integer distributeType);


    List<UserDbIResp> selectDeptUserPageQuery(UserDbIQueryPage userDbIQueryPage);
}